package com.uvnos4j.matilda.commons.exception;

import lombok.Getter;

/**
 * 全局异常
 * <p>
 * Description:全局异常定义
 * </p>
 *
 * @author Guo.wl
 * @version v1.0.0
 * @since 2020-03-29 10:31:40
 */
@Getter
public enum GlobalException implements IException {
    // 未定义异常
    UNDEFINED("-1", "未定义异常");

    private String code;

    private String message;

    GlobalException(String code, String message) {
        this.code = code;
        this.message = message;
    }

}